﻿using Microsoft.EntityFrameworkCore;
using Volo.Abp.EntityFrameworkCore;

namespace Demo.OrderManager.EntityFrameworkCore;

public class OrderManagerHttpApiHostMigrationsDbContext : AbpDbContext<OrderManagerHttpApiHostMigrationsDbContext>
{
    public OrderManagerHttpApiHostMigrationsDbContext(DbContextOptions<OrderManagerHttpApiHostMigrationsDbContext> options)
        : base(options)
    {

    }

    protected override void OnModelCreating(ModelBuilder modelBuilder)
    {
        base.OnModelCreating(modelBuilder);

        modelBuilder.ConfigureOrderManager();
    }
}